package com.moji.service;

import com.moji.common.entity.MyPage;
import com.moji.entity.UploadFiles;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moji.entity.dto.FileDtO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 文件管理 服务类
 * </p>
 *
 * @author mds.
 * @since 2023-04-19
 */
public interface UploadFilesService extends IService<UploadFiles> {

    String uploadPicture(MultipartFile file,  String thisPath);

    String downDoc(MultipartFile file,  String thisPath);

    MyPage<UploadFiles> queryByPage(FileDtO uploadFiles);

    List<UploadFiles> selFilesByNo(String billNo, String billTypeCode);

    boolean deleteFiles(Long id);
}
